package pe.edu.upc.dsd.esb.whereeat.component.service;

import java.util.List;

import javax.jws.WebService;

import pe.edu.upc.dsd.whereeat.domain.Restaurant;

@WebService
public interface RestaurantServiceComponent {
	
	public int guardarRestaurant(Restaurant restaurant);

	public int actualizarRestaurant(Restaurant restaurant);

	public int eliminarRestaurant(Restaurant restaurant);

	public List<Restaurant> listarRestaurants();

	public List<Restaurant> obtenerRestaurantsPorUsuario(int usuarioId);

	public Restaurant obtenerRestaurantPorId(int platoId);
	
	public Restaurant autenticarRestaurant(String username,String pwd);
		
}
